<template>
  <div class="demo">
    <div class="demo-title">带字数提示</div>
    <div class="demo-content">
      <Input v-model:value="value1" show-count :maxlength="20" />
      <br />
      <br />
      <Input.TextArea v-model:value="value2" show-count :maxlength="100" />
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Input from '@sscd/input';
  const value1 = ref<string>('test value');
  const value2 = ref<string>('test value');
</script>

<style lang="less" scoped></style>
